package com.wnxy.eleba.service;

import com.github.pagehelper.PageInfo;
import com.wnxy.eleba.entity.Customer;
import com.wnxy.eleba.vo.CustomerQueryParam;

import java.util.List;

public interface CustomerService_zhuying {
    /**
     * 根据用户id查询用户
     * @param CustomerId
     * @return
     */
    Customer findCustomerById(Integer CustomerId);

    /**
     * 查找全部用户
     * @return
     */
    List<Customer> findAll();

    /**
     * 根据条件分页查询用户
     * @param CustomerQueryParam
     * @return
     */
    PageInfo<Customer> listCustomerPageByCondition(CustomerQueryParam CustomerQueryParam);

    /**
     * 保存用户
     * @param Customer
     * @return
     */
    boolean saveCustomer(Customer Customer);


    /**
     * 修改用户
     * @param Customer
     * @return
     */
    boolean updateCustomer(Customer Customer);


    /**
     * 根据id删除用户
     * @param ids
     * @return
     */
    boolean  deleteCustomer(Integer[] ids);


    boolean delCustomer(Integer id);




}
